import { Route, Routes } from "react-router";
import { BrowserRouter  } from "react-router-dom";
import { HomeView } from "./views/home";
import { SetView } from "./views/set";
import { Provider } from "react-redux";
import { store } from "./store";
function App() {
  return (
    <Provider store={store}>
    <div className="App">
      <BrowserRouter>
        <Routes>
          <Route path={"/"} element={<HomeView />}></Route>
          <Route path={"/set/*"} element={<SetView />}></Route>
        </Routes>
      </BrowserRouter>
    </div>
    </Provider>
  );
}

export default App;
